package com.kaili.basic.pojo.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;


@TableName("base_measurement")
public class BaseMeasurement extends CommonVo implements Serializable {

    private static final long serialVersionUID = 8987984731302864306L;

    /**
     * Id
     */
    @TableId(value = "measurement_id", type = IdType.AUTO)
    private Long measurementId;
    /**
     * 单位编号
     */
    @TableField("measurement_code")
    private String measurementCode;
    /**
     * 单位名字
     */
    @TableField("measurement_name")
    private String measurementName;
    /**
     * 货主ID
     */
    @TableField("shipper_id")
    private Long shipperId;

    @ApiModelProperty(" 货主")
    private String shipper;

    public Long getMeasurementId() {
        return measurementId;
    }

    public void setMeasurementId(Long measurementId) {
        this.measurementId = measurementId;
    }

    public String getMeasurementCode() {
        return measurementCode;
    }

    public void setMeasurementCode(String measurementCode) {
        this.measurementCode = measurementCode;
    }

    public String getMeasurementName() {
        return measurementName;
    }

    public void setMeasurementName(String measurementName) {
        this.measurementName = measurementName;
    }

    public Long getShipperId() {
        return shipperId;
    }

    public void setShipperId(Long shipperId) {
        this.shipperId = shipperId;
    }

    public String getShipper() {
        return shipper;
    }

    public void setShipper(String shipper) {
        this.shipper = shipper;
    }
}
